package cc.mrbird.common.utils;

/**
 * @author yzb
 * @Date 2019年9月17日
 */
public enum UpperToChinese {

	ZHENGZHOU("郑州"),
	ANYANG("安阳"),
	PUYANG("濮阳"),
	HEBI("鹤壁"),
	JIAOZUO("焦作"),
	XINXIANG("新乡"),
	JIYUAN("济源"),
	SANMENXIA("三门峡"),
	LUOYANG("洛阳"),
	PINGDINGSHAN("平顶山"),
	XUCHANG("许昌"),
	KAIFENG("开封"),
	SHANGQIU("商丘"),
	ZHOUKOU("周口"),
	LUOHE("漯河"),
	ZHUMADIAN("驻马店"),
	XINYANG("信阳"),
	NANYANG("南阳");
	
	String cityName;
	
	private UpperToChinese(String cityName) {
		this.cityName = cityName;
	}

	public String getkey() {
		return cityName;
	}
	
	public static UpperToChinese getCity(String cityName) {
		switch (cityName) {
		case "ZHENGZHOU":
			return ZHENGZHOU;
		case "ANYANG":
			return ANYANG;
		case "PUYANG":
			return PUYANG;
		case "HEBI":
			return HEBI;
		case "JIAOZUO":
			return JIAOZUO;
		case "XINXIANG":
			return XINXIANG;
		case "JIYUAN":
			return JIYUAN;
		case "SANMENXIA":
			return SANMENXIA;
		case "LUOYANG":
			return LUOYANG;
		case "PINGDINGSHAN":
			return PINGDINGSHAN;
		case "XUCHANG":
			return XUCHANG;
		case "KAIFENG":
			return KAIFENG;
		case "SHANGQIU":
			return SHANGQIU;
		case "ZHOUKOU":
			return ZHOUKOU;
		case "LUOHE":
			return LUOHE;
		case "ZHUMADIAN":
			return ZHUMADIAN;
		case "XINYANG":
			return XINYANG;
		case "NANYANG":
			return NANYANG;
		default:
			return null;
		}
	}
}
